#ifndef __BASESERVICE_H__
#define __BASESERVICE_H__

#include "mysql.h"

//-1: conn is null
int BaseService_Init(MYSQL ** conn);

int BaseService_StmtInit(MYSQL_STMT ** const stmt,  MYSQL * conn);

int BaseService_StmtClose(MYSQL_STMT * stmt);

//-1: conn is null
int BaseService_Close(MYSQL * conn);

#endif